#pragma once
#include "Stdafx.h"

namespace Pulpy
{
	class Scene
	{
	private:
		bool _ResourceReady;
	public:
		Scene(): _ResourceReady(false) { }; 
		virtual void draw() = 0;
		virtual void update() = 0;
		virtual void reset() = 0;
		bool isReady() { return _ResourceReady; }
		void toggleReady() { _ResourceReady = !_ResourceReady; }
		virtual void loadResource() = 0;
		virtual void freeResource() = 0;
		virtual void handleKeyboard(int key, int x, int y) = 0;
		virtual void handleKeyboardUp(int key, int x, int y) = 0;
		virtual void handleKeyboardSpecial(int key, int x, int y) = 0;
		virtual void handleMouseClick(int button, int state, int x, int y) = 0;
		virtual void handleMouseMove(int x, int y) = 0;
		virtual void getMid(int &x, int &y) = 0;
	};
}